﻿using Ny.Common;
using System;
using System.ComponentModel.DataAnnotations;

namespace Ny.Ci.Core.Points
{
    /// <summary>
    /// 积分记录表
    /// </summary>
    public class PointsRecord : MayBaseEntity
    {
        /// <summary>
        /// 分数
        /// </summary>
        public virtual int Point { set; get; }
        /// <summary>
        /// 积分描述
        /// </summary>
        public virtual string Description { set; get; }

        /// <summary>
        /// 积分所属人员id
        /// </summary>
        [Required]
        public virtual  int UserID{ set; get; }
        /// <summary>
        /// 积分所属人员名
        /// </summary>
        [Required]
        public virtual int UserName { set; get; }

        /// <summary>
        /// 备注
        /// </summary>
        public virtual string Memo { set; get; }
    }
}
